package com.loukou.lkt.lkt.req;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PurchaseOrderReqDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5886798402912461022L;
	
	private int supplierId = 0;//供应商id
	
	private int userId = 0;//采购员ID
	
	private int warehouseId = 0;//仓库id
	
	private Date planArrivetime;
	
	private Date actualArrivetime;
	
//	private int orderState;//采购单状态，使用PoPurchaseorderStateEnum
	
	private double prepayAmount = 0.0;
	
	private double discount = 0.0;
	
	private int checkUserId = 0;//审核人id
	
	private Date checkTime;//审核时间
	
	private String receiveUserName = "";//收货人名
	
	private Date receiveTime;//收货时间
	
	private int closeUserId = 0;//关闭人id
	
	private Date closeTime;//关闭时间
	
	private String remark = "";//备注
	
	private String address = "";
	
	private Date createTime  = new Date();//创建时间
	
	private int settmentType = 0;//结算方式

	private List<PurchaseOrderDetailDto> details = new ArrayList<PurchaseOrderDetailDto>();
	
	public int getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(int supplierId) {
		this.supplierId = supplierId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(int warehouseId) {
		this.warehouseId = warehouseId;
	}

	public Date getPlanArrivetime() {
		return planArrivetime;
	}

	public void setPlanArrivetime(Date planArrivetime) {
		this.planArrivetime = planArrivetime;
	}

	public Date getActualArrivetime() {
		return actualArrivetime;
	}

	public void setActualArrivetime(Date actualArrivetime) {
		this.actualArrivetime = actualArrivetime;
	}

	public int getCheckUserId() {
		return checkUserId;
	}

	public void setCheckUserId(int checkUserId) {
		this.checkUserId = checkUserId;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getReceiveUserName() {
		return receiveUserName;
	}

	public void setReceiveUserName(String receiveUserName) {
		this.receiveUserName = receiveUserName;
	}

	public Date getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

	public int getCloseUserId() {
		return closeUserId;
	}

	public void setCloseUserId(int closeUserId) {
		this.closeUserId = closeUserId;
	}

	public Date getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public List<PurchaseOrderDetailDto> getDetails() {
		return details;
	}

	public void setDetails(List<PurchaseOrderDetailDto> details) {
		this.details = details;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public double getPrepayAmount() {
		return prepayAmount;
	}

	public void setPrepayAmount(double prepayAmount) {
		this.prepayAmount = prepayAmount;
	}

	public int getSettmentType() {
		return settmentType;
	}

	public void setSettmentType(int settmentType) {
		this.settmentType = settmentType;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
}
